@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="userInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">

                    <#input id="serialNumber" name="人员编号" underline="false"/>
                    <#input id="citySel" name="部门" underline="true" readonly="readonly" hidden="deptInfo.id"
                    clickFun="UserInfoDlg.showDeptSelectTree(); return false;"
                    style="background-color: #ffffff !important;"/>
                    <#input id="name" name="姓名" underline="false"/>
                    <#input id="password" name="密码" underline="false" type="password"/>
					<#select id="sex" name="性别" underline="false">
                    @for(dict in constant.getDicts('性别')){
                    <option value="${dict.value}">${dict.name}</option>
                    @}
				    </#select>
				<#input id="birthday" name="出生日期" underline="false" type="date"
				clickFun="laydate({istime: false, format: 'YYYY-MM-DD hh:MM:ss'})"/>

            </div>
            <div class="col-sm-6">
                <div id="driverInfoContent">
					<#input id="account" name="账号" underline="false"/>
					<#input id="credentialsType" name="证件类型" underline="false"/>
					<#input id="credentialsNo" name="证件号码" underline="false"/>
					<#input id="position" name="职位" underline="false"/>
					<#input id="entryDate" name="入职日期" underline="false"  type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD hh:MM:ss'})"/>
<!--                    <#input id="rePassword" name="确认密码" type="password" underline="false"/>-->
                </div>
            </div>
        </div>

        <!-- 这是部门选择的下拉框 -->
        <div id="menuContent" class="menuContent"
             style="display: none; position: absolute; z-index: 200;">
            <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
        </div>

        <div class="row btn-group-m-t">
            <div class="col-sm-10">
                <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/>
                <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/>
            </div>
        </div>
    </div>

</div>
</div>
<script src="${ctxPath}/static/modular/system/user/user_info.js"></script>
@}
